import type { RouteRecordRaw } from 'vue-router'
import type { CategoryObj,AttrList } from '@/api/product/attr/type'
// 定义小仓库state数据类型
export interface UserState {
  token: string | null
  menuRoutes: RouteRecordRaw[]
  username: string
  avatar: string
}
export interface CategoryState {
  C1Arr: CategoryObj[],
  C1ID:string|number,
  C2Arr:CategoryObj[],
  C2ID:string|number,
  C3Arr:CategoryObj[],
  C3ID:string|number,
  AttrList:AttrList
}